@model OurWedding1.Models.ExpensePhoto

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>ExpensePhoto</legend>

    <div class="display-label">PublicId</div>
    <div class="display-field">@Model.PublicId</div>

    <div class="display-label">Expens</div>
    <div class="display-field">@(Model.Expens == null ? "None" : Model.Expens.Name)</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


